<template>
	<div class="seektwo">
		<div class="seek_top_div">
			<img class="top_div_img" src="../assets/leftjt.jpg" />
			
			<p class="top_div_p">
				<img src="../assets/jft_but_search.png" />
				<span>尖椒</span>
			</p>
			
		</div>
		
		<div class="seektwo_body_div" v-for="it in datali">
			<div class="body_div_img">
				<img :src="it.imgtop" />
			</div>
			
			<div >
				<div class="body_body_div">
						<p>{{it.shopName}}</p>
				<p>{{it.tiaojian}}</p>
				<p>{{it.vip}}</p>
				</div>
			
				<div class="body_img_div" >
					<div class="body_img_div_body" v-for="it1 in it.datalist">
					  <img :src="it1.imgs" />
					  <p>{{it1.guige}}</p>
					  <p>￥{{it1.price}}</p>
				    </div>
				
			</div>						
			</div>		
		</div>
	</div>
	
</template>

<script>
	export default{
		data(){
			return{
				datali:[
					{
						"shopName": "沃尔玛",
						imgtop: require("../assets/login/spt1.jpg"),
						"tiaojian":"月售1万+  起送￥0  基础费￥5",
						"vip":"VIP尊享满89元减4元运费券（每月3张）",
						datalist: [{
							"guige": "番茄250g/份",
							imgs: require("../assets/login/spt1.jpg"),
							price: 33.6,
							
						}, {
							"guige": "提子250g/份",
							imgs: require("../assets/login/spt1.jpg"),
							price: 33.6,
							
						},
						{
							"guige": "提子250g/份",
							imgs: require("../assets/login/spt1.jpg"),
							price: 33.6,
							
						}]
					},
					{
						"shopName": "京东7FRESH生鲜",
						imgtop: require("../assets/login/spt1.jpg"),
						"tiaojian":"月售1万+  起送￥0  基础费￥5",
						"vip":"VIP尊享满89元减4元运费券（每月3张）",
						datalist: [{
							"guige": "番茄250g/份",
							imgs: require("../assets/login/spt1.jpg"),
							price: 33.6,
							
						}, {
							"guige": "提子250g/份",
							imgs: require("../assets/login/spt1.jpg"),
							price: 33.6,
							
						},
						{
							"guige": "提子250g/份",
							imgs: require("../assets/login/spt1.jpg"),
							price: 33.6,
							
						}]
					},
					{
						"shopName": "百果园",
						imgtop: require("../assets/login/spt1.jpg"),
						"tiaojian":"月售1万+  起送￥0  基础费￥5",
						"vip":"VIP尊享满89元减4元运费券（每月3张）",
						datalist: [{
							"guige": "番茄250g/份",
							imgs: require("../assets/login/spt1.jpg"),
							price: 33.6,
							
						}, {
							"guige": "提子250g/份",
							imgs: require("../assets/login/spt1.jpg"),
							price: 33.6,
							
						},
						{
							"guige": "提子250g/份",
							imgs: require("../assets/login/spt1.jpg"),
							price: 33.6,
							
						}]
					}
				
				]
			}
		}
	}
</script>

<style>
	.seek_top_div{
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding-top: 16px;
		padding-left: 18px;
		padding-right: 18px;
		height: 40px;
	
	}
	.top_div_img{
		height: 32px;
		width: 21px;
	}
	
	.top_div_p{
		line-height: 40px;
		background: #F5F5F5;
		flex: 6;
		 border-radius: 21px;
	}
	.top_div_p span{
		font-size: 16px;
		margin-left: 16px;
	}
	.top_div_p img{
		padding-left: 20px;
		height: 20px;
		width: 20px;
	}
	.seektwo_body_div{
		display: flex;
		padding-left: 24px;
		padding-right: 40px;
		padding-top: 34px;
		
	}
	.body_body_div p{
		padding-bottom: 16px;
	}
	.body_body_div :nth-child(1){
		font-size: 22px;
	}
	.body_body_div :nth-child(2){
		font-size: 18px;
	}
	.body_body_div :nth-child(3){
		font-size: 18px;
		color: red;
	}
	.body_img_div{
		display: flex;
		
		border-bottom: 2px solid #d4d4d4;
	}
	.body_img_div div{
		padding-right: 20px;
	}
	.body_img_div img{
		padding-bottom: 10px;
	}
	.body_img_div p{
		padding-bottom: 10px;
	}
	.body_img_div_body :nth-child(2){
		font-size: 16px;
	}
	.body_img_div_body :nth-child(3){
		font-size: 18px;
		color: red;
	}
		
	
</style>
